package com.smcdd.cdb.dbo.cdb_dbo.service.entity;

import java.util.List;

/**
 * 作者：Administrator on 2017/6/26 17:29
 * 邮箱：zhanghuaiha@gmail.com
 * 9宫格数据
 */

public class Functions {

    /**
     * code : 200
     * data : [{"id":"1","code":"101","name":"门店管理","icon":"http://qncdn.sprxt.com/628fc77f070bf454a3aaaf6bc6512c2c.png","status":"1","type":"1","url":"","small_icon":null,"small_type":"0","small_prompt":null},{"id":"2","code":"102","name":"激活设备","icon":"http://qncdn.sprxt.com/c530f38a2ae39ae27db788c1b8797e83.png","status":"1","type":"1","url":"","small_icon":null,"small_type":"0","small_prompt":null},{"id":"3","code":"103","name":"配置WiFi","icon":"http://qncdn.sprxt.com/9a042f7634b2e95b28d4a4ce40474d5a.png","status":"1","type":"1","url":"","small_icon":null,"small_type":"0","small_prompt":null},{"id":"4","code":"104","name":"更新固件","icon":"http://qncdn.sprxt.com/e80f2926fc8332cc7f73d91e7b2bba08.png","status":"1","type":"1","url":null,"small_icon":"http://qncdn.sprxt.com/058bbf075e48c7f2786eaec69f5a2bc6.png","small_type":"1","small_prompt":"请慎重操作"},{"id":"5","code":"105","name":"常见问题","icon":"http://qncdn.sprxt.com/ff5673b91421bbacedfe6903ff3cd6b3.png","status":"1","type":"2","url":"http://www.baidu.com","small_icon":null,"small_type":"0","small_prompt":null},{"id":"6","code":"106","name":"统计报表","icon":"http://qncdn.sprxt.com/ab27ee466d400008e5e18cca977c6870.png","status":"1","type":"1","url":null,"small_icon":null,"small_type":"0","small_prompt":null},{"id":"7","code":"107","name":"扫码充电","icon":"http://qncdn.sprxt.com/154c0b15473bbaebadc6fb70aa39c862.png","status":"1","type":"1","url":null,"small_icon":"http://qncdn.sprxt.com/058bbf075e48c7f2786eaec69f5a2bc6.png","small_type":"1","small_prompt":"扫一次码，充电5分钟，仅供测试使用"},{"id":"8","code":"108","name":"设备撤回","icon":"http://qncdn.sprxt.com/11af6033390992173319447a2068fed4.png","status":"1","type":"1","url":null,"small_icon":"http://qncdn.sprxt.com/058bbf075e48c7f2786eaec69f5a2bc6.png","small_type":"1","small_prompt":"执行设备撤回后，设备的属性将初始化，需要重新激活"},{"id":"9","code":"109","name":"硬件故障","icon":"http://qncdn.sprxt.com/ffec80aadeedc943f7cc0b51e9bac443.png","status":"1","type":"1","url":null,"small_icon":null,"small_type":"0","small_prompt":null}]
     */

    private int code;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * code : 101
         * name : 门店管理
         * icon : http://qncdn.sprxt.com/628fc77f070bf454a3aaaf6bc6512c2c.png
         * status : 1
         * type : 1
         * url :
         * small_icon : null
         * small_type : 0
         * small_prompt : null
         */

        private String id;
        private String code;
        private String name;
        private String icon;
        private String status;
        private String type;
        private String url;
        private Object small_icon;
        private String small_type;
        private Object small_prompt;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public Object getSmall_icon() {
            return small_icon;
        }

        public void setSmall_icon(Object small_icon) {
            this.small_icon = small_icon;
        }

        public String getSmall_type() {
            return small_type;
        }

        public void setSmall_type(String small_type) {
            this.small_type = small_type;
        }

        public Object getSmall_prompt() {
            return small_prompt;
        }

        public void setSmall_prompt(Object small_prompt) {
            this.small_prompt = small_prompt;
        }
    }
}
